﻿#建议保存编码为：bom头 + utf8

if ($global:tj添加path -eq $true)
{
	exit
}
$global:tj添加path = $true

if ( ($IsWindows -eq $True) -or ($PSVersionTable.psversion.major -lt 6) ) #win
{
	if ( ($Env:Path).ToLower().contains('kasini') )
	{
	}
	else
	{
		$Env:Path = 'c:\ProgramData\kasini3000\node_script\kasini3000;c:\ProgramData\kasini3000\node_script\centos;c:\ProgramData\kasini3000\node_script\debian;c:\ProgramData\kasini3000\node_script\ubuntu;c:\ProgramData\kasini3000\node_script\win;c:\ProgramData\kasini3000\node_script\user_db;' + $Env:Path
	}
}

if ($IsLinux -eq $True)
{
	# 区分的大小写！
	if ( ($Env:PATH).ToLower().contains('kasini') )
	{
	}
	else
	{
		$Env:PATH = '/etc/kasini3000/node_script/kasini3000:/etc/kasini3000/node_script/:/etc/kasini3000/node_script/centos:/etc/kasini3000/node_script/debian:/etc/kasini3000/node_script/ubuntu:/etc/kasini3000/node_script/win:/etc/kasini3000/node_script/user_db:' + $Env:PATH
	}
}

exit 0
